package com.example.siyun.pojo;

import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @Author 赵薇
 * @Date 2022/10/12 15:02
 * @PackageName:com.example.siyun.pojo
 * @ClassName: Apply
 * @Description: TODO
 * @Version 1.0
 */
public class Apply {

    private int applyId;
    /* 用户名称 */
    private String applyName;
    /* 用户账号 */
    private String applyAccount;
    /* 申请单位 */
    private String applyUnit;
    /* 电话 */
    private String  applyPhone;
    /* 申请时间 */
    @DateTimeFormat(pattern = "yyyy-MM-d HH:MM:SS")
    private Date applyTime;
    /* 邮件 */
    private String applyEmail;
    /* 申请状态 */
    private String applyState;


    public int getApplyId() {
        return applyId;
    }

    public void setApplyId(int applyId) {
        this.applyId = applyId;
    }

    public String getApplyName() {
        return applyName;
    }

    public void setApplyName(String applyName) {
        this.applyName = applyName;
    }

    public String getApplyAccount() {
        return applyAccount;
    }

    public void setApplyAccount(String applyAccount) {
        this.applyAccount = applyAccount;
    }

    public String getApplyUnit() {
        return applyUnit;
    }

    public void setApplyUnit(String applyUnit) {
        this.applyUnit = applyUnit;
    }

    public String getApplyPhone() {
        return applyPhone;
    }

    public void setApplyPhone(String applyPhone) {
        this.applyPhone = applyPhone;
    }

    public Date getApplyTime() {
        return applyTime;
    }

    public void setApplyTime(Date applyTime) {
        this.applyTime = applyTime;
    }

    public String getApplyEmail() {
        return applyEmail;
    }

    public void setApplyEmail(String applyEmail) {
        this.applyEmail = applyEmail;
    }

    public String getApplyState() {
        return applyState;
    }

    public void setApplyState(String applyState) {
        this.applyState = applyState;
    }

    @Override
    public String toString() {
        return "Apply{" +
                "applyId=" + applyId +
                ", applyName='" + applyName + '\'' +
                ", applyAccount='" + applyAccount + '\'' +
                ", applyUnit='" + applyUnit + '\'' +
                ", applyPhone=" + applyPhone +
                ", applyTime=" + applyTime +
                ", applyEmail='" + applyEmail + '\'' +
                ", applyState=" + applyState +
                '}';
    }
}
